package kaufman.id.projects;

public class PhysicalObjects {

	private int mass;
	private int volume;
	private int density;

	public int getMass() {
		return mass;
	}

	public void setMass(int mass) {
		this.mass = mass;
	}

	public int getVolume() {
		return volume;
	}

	public void setVolume(int volume) {
		this.volume = volume;
	}

	public int getDensity() {
		return density;
	}

	public void setDensity(int density) {
		this.density = density;
	}

	public int computeMass() {
		mass = volume * density;

		return mass;
	}

	public int computeVolume() {
		volume = mass / density;

		return volume;
	}

	public int computeDensity() {
		density = mass / volume;

		return density;
	}

}
